package com.cm.caseManagement.pojo.entity;

import com.cm.caseManagement.annotation.Excel;
import com.cm.caseManagement.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 移交记录对象 cm_move_record
 *
 * @author ruoyi
 * @date 2025-10-05
 */
public class CmMoveRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 外部唯一id */
    @Excel(name = "外部唯一id")
    private String publicId;

    /** 案件id */
    @Excel(name = "案件id")
    private Long caseId;

    /** 移交类型：0任务，1案件 */
    @Excel(name = "移交类型：0任务，1案件")
    private Integer moveType;

    /** 分配阶段：0诉前，1诉讼，2已判未执行，3执行 */
    @Excel(name = "分配阶段：0诉前，1诉讼，2已判未执行，3执行")
    private String assignStage;

    /** 阶段id */
    @Excel(name = "阶段id")
    private Long stageId;

    /** 接收人 */
    @Excel(name = "接收人")
    private Long receiveId;

    /** 移交人 */
    @Excel(name = "移交人")
    private Long moveId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setPublicId(String publicId)
    {
        this.publicId = publicId;
    }

    public String getPublicId()
    {
        return publicId;
    }

    public void setCaseId(Long caseId)
    {
        this.caseId = caseId;
    }

    public Long getCaseId()
    {
        return caseId;
    }

    public void setMoveType(Integer moveType)
    {
        this.moveType = moveType;
    }

    public Integer getMoveType()
    {
        return moveType;
    }

    public void setAssignStage(String assignStage)
    {
        this.assignStage = assignStage;
    }

    public String getAssignStage()
    {
        return assignStage;
    }

    public void setStageId(Long stageId)
    {
        this.stageId = stageId;
    }

    public Long getStageId()
    {
        return stageId;
    }

    public void setReceiveId(Long receiveId)
    {
        this.receiveId = receiveId;
    }

    public Long getReceiveId()
    {
        return receiveId;
    }

    public void setMoveId(Long moveId)
    {
        this.moveId = moveId;
    }

    public Long getMoveId()
    {
        return moveId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("publicId", getPublicId())
            .append("caseId", getCaseId())
            .append("moveType", getMoveType())
            .append("assignStage", getAssignStage())
            .append("stageId", getStageId())
            .append("receiveId", getReceiveId())
            .append("moveId", getMoveId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
